package com.wqiuqiu.gulimall.auth.feign;


import com.wqiuqiu.common.R;
import com.wqiuqiu.common.to.thridservice.MailTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("gulimall-third-party")
public interface ThirdFeignService {

    @PostMapping("/sendmail")
    R sendMail(@RequestBody MailTo to);
}
